Conversation
Card links check✅ No broken Card links found. Checked external links in 0.6s |
✅ Markdown Lint PassedAll markdown files meet the linting standards! 🎉 |
| - `scope` (ControlScope): When to apply the control | ||
| - `selector` (ControlSelector): What data to evaluate | ||
| - `evaluator` (EvaluatorSpec): How to evaluate | ||
| - `condition` (ConditionNode): Recursive condition tree; leaf nodes contain `selector` + `evaluator` |
There was a problem hiding this comment.
we should still explain selector here somewhere, no?
concepts/controls.mdx
Outdated
| "selector": {"path": "output"}, | ||
| "evaluator": { | ||
| "name": "regex", | ||
| "config": {"pattern": r"\\b\\d{3}-\\d{2}-\\d{4}\\b"} |
There was a problem hiding this comment.
is this correct regex for SSN or are we escaping too many times?
concepts/controls.mdx
Outdated
| "selector": {"path": "output"}, | ||
| "evaluator": { | ||
| "name": "regex", | ||
| "config": {"pattern": "\\\\b\\\\d{3}-\\\\d{2}-\\\\d{4}\\\\b"} |
There was a problem hiding this comment.
potentially same prlblem here. the correct regex should be \b\d{3}-\d{2}-\d{4}\b
There was a problem hiding this comment.
Yea r\b\d{3}-\d{2}-\d{4}\b
| "selector": { "path": "output" }, | ||
| "evaluator": { | ||
| "name": "regex", | ||
| "config": { "pattern": "\\b\\d{3}-\\d{2}-\\d{4}\\b" } |
There was a problem hiding this comment.
why the fuck does it keep escaping this shit? it should be \b\d{3}-\d{2}-\d{4}\b and i already fixed it previously: aedbbed
| "evaluator": { | ||
| "name": "regex", | ||
| "config": { | ||
| "pattern": "\\b\\d{3}-\\d{2}-\\d{4}\\b" |
There was a problem hiding this comment.
should be r "\b\d{3}-\d{2}-\d{4}\b"
There was a problem hiding this comment.
this is pure JSON so these need to be escaped
| "evaluator": { | ||
| "name": "regex", | ||
| "config": { | ||
| "pattern": "\\b\\d{3}-\\d{2}-\\d{4}\\b" |
There was a problem hiding this comment.
json only example needs escape
| "scripts": { | ||
| "dev": "mintlify dev", | ||
| "build": "mintlify build", | ||
| "build": "mintlify validate", |
Feature work: agentcontrol/agent-control#115
Summary
conditioninstead of flat top-levelselector/evaluatorValidation
npm run broken-linksnpx mintlify validate